const validations = {}

const importAll = function (r) {
  r.keys().map(value => {
    Object.assign(validations, r(value))
  })
}

importAll(require.context('.', true, /\.validation\.js/))

export default validations
